package com.dao.supply;

import com.model.supply.SupplyInfoModel;
import com.model.supply.SupplyUserModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lijiazhen
 * @date 2022-02-25 param description
 */
public interface LoginMapper {
	/**
	 * 查询用户名（校验用户名是否已存在）
	 */
	SupplyUserModel querySupplierUserInfoByParams(@Param("registerLoginName") String registerLoginName);

	/**
	 * 查询供应商信息（校验供应商是否已存在）
	 */
	SupplyInfoModel querySupplierInfoByParams(Map<String, Object> params);

	List<SupplyInfoModel> querySupplyByName(Map<String, Object> params);
}
